package com.zlsoft.sbsm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zlsoft.sbsm.model.FileDO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @ Author     ：Mr.LinYang Tang
 * @ Date       ：Created in 19:48 2020/11/28
 * @ Company：ZLSOFT
 */
@Repository
public interface FileMapper extends BaseMapper<FileDO> {

    FileDO selectByMd5(@Param("md5") String md5);

    int selectCountByMd5(@Param("md5") String md5);
}
